//
//  YHYBaseViewController.m
//  LANGirl
//
//  Created by 杨泓晔 on 16/3/7.
//  Copyright © 2016年 LanJue. All rights reserved.
//

#import "YHYBaseViewController.h"

@interface YHYBaseViewController ()

@end

@implementation YHYBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.view.backgroundColor = LV;
//    // 改navg左右字的颜色
//    self.navigationController.navigationBar.tintColor = [UIColor cyanColor];
//    
//    // 改navg标题字的颜色 和 大小
//    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor purpleColor] ,NSFontAttributeName:[UIFont boldSystemFontOfSize:17.f]};
//    
//    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:0.32 green:0.74 blue:0.8 alpha:1];
    
    
   // self.view.backgroundColor = [UIColor whiteColor];
    
    
    
    //返回按钮
    //self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"icon_nav_back_button"] style:UIBarButtonItemStylePlain target:self action:@selector(leftAction:)];
//    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"dd" style:UIBarButtonItemStylePlain target:self action:@selector(leftAction:)];
//    self.navigationItem.leftBarButtonItem.tintColor = [UIColor redColor];
    
}

- (void)leftAction:(UIBarButtonItem *)sender{
    
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
